package app.vendorportal.api.data.response;

import app.vendorportal.api.data.SKUDeliveryInfo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Bribin
 */
@XmlRootElement(name = "query-delivery-info-response")
@XmlAccessorType(XmlAccessType.FIELD)
@Deprecated
public class QueryDeliveryInfoResponse {

    @XmlElementWrapper(name = "sku-delivery-info-list")
    @XmlElement(name = "sku-delivery-info")
    private final List<SKUDeliveryInfo> skuDeliveryInfos = new ArrayList<SKUDeliveryInfo>();

    public List<SKUDeliveryInfo> getSkuDeliveryInfos() {
        return skuDeliveryInfos;
    }

}
